/* css中的box-sizing属性，可以解决子元素宽度100%时，设置padding不超出父元素宽度 */
html, body, a, div, img, button, section, span, ul, li, p, h1, h2, h3, h4, h5, h6 {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    border: 0;
    outline: none;
  }

  html, body {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    overflow-x: hidden;
  }

  #app {
    width: 100%;
    height: 100%;
  }

  //火狐下的移除input type=number时后面的增减符号
  input[type=number] {
    -moz-appearance: textfield;
  }

  //谷歌下的移除input type=number时后面的增减符号
  input[type=number]::-webkit-inner-spin-button,
  input[type=number]::-webkit-outer-spin-button {
    -webkit-appearance: none;
  }

  .clear-fix {
    content: "";
    display: inline-block;
    zoom: 1;
    clear: both;
  }

  .hide {
    display: none !important;
  }

  ul {
    li {
      list-style: none;
    }
  }

  .f-right {
    float: right;
  }

  .f-left {
    float: left;
  }

  .text-overflow {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
  }

  .text-center {
    text-align: center;
  }

  .flex {
    display: flex;
  }

  .flex-align {
    align-items: center;
  }

  .flex-justify {
    justify-content: center;
  }

